package cn.zhiran.system.service.impl;

import cn.zhiran.basic.service.impl.BaseServiceImpl;
import cn.zhiran.system.domain.SystemDictionaryDetail;
import cn.zhiran.system.domain.SystemDictionaryDetail;
import cn.zhiran.system.mapper.SystemDictionaryDetailMapper;
import cn.zhiran.system.service.ISystemDictionaryDetailService;
import cn.zhiran.system.service.ISystemDictionaryDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class SystemDictionaryDetailServiceImpl extends BaseServiceImpl<SystemDictionaryDetail> implements ISystemDictionaryDetailService{
    @Autowired
    private SystemDictionaryDetailMapper systemDictionaryDetailMapper;
    

    @Transactional
    @Override
    public void update(SystemDictionaryDetail systemDictionaryDetail) {
        systemDictionaryDetailMapper.update(systemDictionaryDetail);
    }

    @Transactional
    @Override
    public void insert(SystemDictionaryDetail systemDictionaryDetail) {

        systemDictionaryDetailMapper.insert(systemDictionaryDetail);
    }

   

}
